import { Rule } from "./types";

export const flake8GettextRuleList: Rule[] = [
    {
        code: "INT001",
        name: "f-string-in-get-text-func-call",
        descEn: `f-string is resolved before function call; consider _("string %s") % arg`,
        descCn: "",
        autoFix: false,
    },
    {
        code: "INT002",
        name: "format-in-get-text-func-call",
        descEn: `format method argument is resolved before function call; consider _("string %s") % arg	`,
        descCn: "",
        autoFix: false,
    },
    {
        code: "INT003",
        name: "printf-in-get-text-func-call",
        descEn: `printf-style format is resolved before function call; consider _("string %s") % arg`,
        descCn: "",
        autoFix: false,
    },
];